#!/usr/bin/node

const log = console.log;
const cp = require('child_process');

console.log(`I am father process, pid:${process.pid}`);

cp.execFile('./03-child.js',(err,data)=>{
  if(err){
    console.error(err);
    process.exit(2);
  }
  log(data);
})
